﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.TalentTreeSchema

    Public Class spell

        Private dblCastTime As Double
        Private intCooldown As Integer
        Private intMaxRange As Integer
        Private pPower As New List(Of power)

        <XmlAttribute()> Public Property castTime() As Double
            Get
                Return dblCastTime
            End Get
            Set(ByVal value As Double)
                dblCastTime = value
            End Set
        End Property

        <XmlAttribute()> Public Property cooldown() As Integer
            Get
                Return intCooldown
            End Get
            Set(ByVal value As Integer)
                intCooldown = value
            End Set
        End Property

        <XmlAttribute()> Public Property maxRange() As Integer
            Get
                Return intMaxRange
            End Get
            Set(ByVal value As Integer)
                intMaxRange = value
            End Set
        End Property

        <XmlElement()> Public Property power() As List(Of power)
            Get
                Return pPower
            End Get
            Set(ByVal value As List(Of power))
                pPower = value
            End Set
        End Property

    End Class

End Namespace